import cv2
import numpy as np
import pandas as pd
from DrissionPage import ChromiumPage, ChromiumOptions
from DrissionPage.common import Actions
from DrissionPage.errors import AlertExistsError
from DrissionPage.common import Keys
import time
from datetime import datetime, timedelta
from page import get_page
from 滑块验证码 import slider_img
import pickle
import math
import ast

usernames1 = {'username':'yexiong1997@qq.com','password':'Yexiong1997','port':9225,'user_path':r"C:\15867710780",'down_path':r"C:\15867710780\filedownloads"}
usernames2 = {'username':'594688317@qq.com','password':'Yh5566789','port':9223,'user_path':r"C:\594688317",'down_path':r"C:\594688317\filedownloads"}
usernames3 = {'username':'791002765@qq.com','password':'yexiong1997Mm','port':9224,'user_path':r"C:\791002765",'down_path':r"C:\791002765\filedownloads"}
usernames4 = {'username':'2968425169@qq.com','password':'yexiong1997Mm','port':9226,'user_path':r"C:\2968425169",'down_path':r"C:\2968425169\filedownloads"}


# page = get_page(usernames2)
# ac = Actions(page)

店铺更名字典 = {}
df = pd.read_excel("D:\桌面\店铺名更改.xls")
for index, row in df.iterrows():
    店铺更名字典[row['原先店铺名']] = row['更改后店铺名']
print(店铺更名字典)






